package cupk.Concrete;

import cupk.Discount;

public class VIPDiscount extends Discount {
    @Override
    public double calculate(double price) {
        double discountPrice = price * 0.5;
        System.out.println("会员用户，积分+1");
        return discountPrice;
    }
}
